package com.lusang.aftermarket.domain;

import java.util.Date;
import com.lusang.basics.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author dingyom
 * @since 2022-08-27
 */
public class Guarantee extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private Long productId;
    private String productName;
    private Long orderId;
    private String orderSn;
    private Long customerId;
    private String customerName;
    private Date startTime;
    private Date endTime;
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Guarantee{" +
        ", id=" + id +
        ", productId=" + productId +
        ", productName=" + productName +
        ", orderId=" + orderId +
        ", orderSn=" + orderSn +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", state=" + state +
        "}";
    }
}
